LDRA Testbed ® Code Review Report

Group : PVM-console






Overall Result: FAIL






Report Production Report Configuration Analysis phases
  • C/C++ LDRA Testbed Version: 8.1.0
  • Config. File: C:\Testbed_CCPP_810\c\creport.dat
  • Produced On: Thu Sep 03 2009 at 13:34:53
  • Penalty File: C:\Testbed_CCPP_810\c\cpen.dat
  • Report Level: Summary Report
  • Procedures Reported: Fails Only
  • Programming Standards Model: CERT
  • Line Numbers refer to: Original Source File
  • Violation Details: Violations Only
  • Reporting Scope: Full analysis scope
  • Static: Yes
  • Complexity: No
  • Static Data Flow: No
  • Information Flow: No
  • Cross Reference: No


Contents

Overall Quality Summary
Report on Program Components
Key to Terms





Overall Quality Summary



Totals of Violations for Selected Quality Standards

'-' indicates required Analysis Phase results are not yet available.
'Off' indicates that the standard is switched off in the Penalty File (<lang>pen.dat).
'MR'indicates that the standard is Misra Restricted.

Number of Violations LDRA Code (M) Mandatory Standards CERT Code
31
9 S CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
0
20 S CERT DCL31-C
8
30 S CERT EXP30-C,EXP31-C
-
5 D CERT EXP33-C
0
39 S CERT FLP30-C
0
43 S CERT ENV33-C,SIG32-C
0
47 S CERT ARR30-C
4
71 S CERT DCL30-C,MEM36-C
0
86 S CERT ERR31-C
159
93 S CERT INT01-C,INT02-C,INT07-C
5
94 S CERT EXP11-C,EXP36-C,INT11-C
4
98 S CERT EXP37-C
-
17 D CERT DCL32-C
-
19 D CERT EXP37-C
-
20 D CERT DCL31-C,ERR30-C
-
24 D CERT DCL31-C
-
1 X CERT ARR31-C
0
134 S CERT EXP10-C,EXP30-C
-
35 D CERT EXP02-C,EXP10-C,EXP30-C
0
1 Q CERT EXP02-C,EXP10-C,EXP30-C
26
157 S CERT STR05-C,STR30-C
512
170 S CERT DCL07-C,EXP37-C
-
41 D CERT EXP37-C
-
42 D CERT DCL30-C
-
43 D CERT INT32-C,INT33-C
0
248 S CERT INT33-C
-
45 D CERT EXP08-C,EXP34-C
-
49 D CERT FIO42-C
43
326 S CERT DCL31-C
0
344 S CERT EXP32-C
-
51 D CERT MEM30-C
0
355 S CERT DCL32-C
0
403 S CERT INT34-C
2
433 S CERT INT02-C,INT31-C
12
434 S CERT INT02-C,INT31-C,STR34-C
0
442 S CERT INT02-C,FLP33-C
0
443 S CERT INT02-C,FLP33-C
0
444 S CERT FLP33-C
0
456 S CERT MSC31-C
-
57 D CERT EXP33-C
93
476 S CERT ARR30-C
0
480 S CERT DCL33-C
0
483 S CERT MEM34-C
0
484 S CERT MEM31-C
0
487 S CERT MEM35-C
0
489 S CERT DCL33-C,FIO43-C
0
493 S CERT INT32-C
0
494 S CERT INT32-C
165
496 S CERT EXP37-C
-
61 X CERT DCL32-C

Number of Violations LDRA Code (M) Mandatory Standards CERT Code
-
64 X CERT ARR30-C
-
69 D CERT EXP33-C
0
562 S Use of ++,-- or = in macro parameters. CERT PRE31-C
-
75 D CERT FIO31-C
-
68 X CERT DCL00-C
-
69 X CERT ARR30-C
0
573 S Macro concatenation of uni char names. CERT PRE30-C
0
575 S Linkage differs from previous declaration. CERT DCL36-C
0
576 S Function pointer is of wrong type. CERT DCL35-C,EXP08-C


Number of Violations LDRA Code (C) Checking (Mandatory) Standards CERT Code

No Standards have been set as Checking.

Number of Violations LDRA Code (O) Optional Standards CERT Code
0
5 S CERT MSC03-C
158 12 S CERT MSC01-C
4 21 S CERT DCL07-C
-
1 D CERT MSC13-C
-
4 D CERT MSC13-C
-
7 D CERT MSC13-C
-
8 D CERT MSC08-C
-
15 D CERT MSC13-C
0
41 S CERT DCL10-C,DCL11-C
61 44 S CERT DCL03-C,INT06-C
2 50 S CERT INT13-C
0
52 S CERT INT02-C
0
54 S CERT EXP06-C
1 57 S CERT MSC03-C,MSC12-C
2 58 S CERT MSC03-C
5 59 S CERT MSC03-C
0
73 S CERT INT12-C
14 79 S CERT PRE03-C
0
81 S CERT PRE07-C
0
85 S CERT INT09-C
6 95 S CERT EXP11-C
0
99 S CERT MSC02-C
0
101 S CERT INT02-C
-
27 D CERT DCL15-C
25 113 S CERT MSC09-C
15 77 S CERT PRE02-C
19 78 S CERT PRE01-C,PRE02-C
40 96 S CERT INT02-C
0
115 S CERT STR03-C
0
119 S CERT MSC04-C
14 120 S CERT INT13-C
0
125 S CERT PRE05-C
10 131 S CERT DCL01-C
16 132 S CERT MSC02-C
0
133 S CERT EXP02-C
46 135 S CERT DCL07-C
0
139 S CERT MSC07-C
0
140 S CERT MSC07-C
0
176 S CERT MSC10-C
24 177 S CERT DCL04-C
30 200 S CERT DCL00-C
373 201 S CERT DCL06-C,EXP07-C,EXP09-C
0
203 S CERT EXP05-C
2 218 S CERT PRE04-C
13 243 S CERT PRE06-C
57 273 S CERT PRE03-C
0
299 S CERT DCL05-C
1 1 J CERT MSC07-C
44 302 S CERT MSC04-C
7 329 S CERT INT07-C

Number of Violations LDRA Code (O) Optional Standards CERT Code
13 331 S CERT INT13-C
0
332 S CERT INT02-C
0
334 S CERT INT02-C
9 340 S CERT PRE00-C
1 352 S CERT DCL12-C
-
50 D CERT MEM00-C
30 361 S CERT EXP00-C
0
376 S CERT MSC10-C
14 381 S CERT DCL05-C
10 382 S CERT EXP12-C
-
53 D CERT EXP08-C
0
387 S CERT DCL08-C
20 400 S CERT EXP03-C
6 401 S CERT ARR00-C
0
406 S CERT EXP02-C
-
54 D CERT EXP08-C
0
408 S CERT EXP02-C
0
432 S CERT INT07-C
0
438 S CERT EXP08-C
0
439 S CERT INT15-C
0
440 S CERT INT15-C
0
446 S CERT INT02-C
0
452 S CERT INT02-C
0
457 S CERT INT02-C
0
458 S CERT INT02-C,INT07-C
6 486 S CERT FIO00-C
0
488 S CERT INT08-C
0
491 S CERT INT02-C
-
61 D CERT DCL15-C
-
62 D CERT DCL13-C
0
515 S CERT DCL04-C
-
65 D CERT MSC12-C
-
70 D CERT MSC12-C
0
553 S Function and proto should both be static. CERT DCL15-C
-
72 D CERT EXP10-C
-
67 X CERT DCL02-C
-
74 D CERT EXP10-C
0
568 S #include "filename" uses standard library name. CERT PRE04-C
5 577 S Sizeof argument is a pointer. CERT EXP01-C
12 578 S Sizeof used in arithmetic expression. CERT EXP03-C
-
78 D CERT DCL00-C
0
584 S Remainder of % op could be negative. CERT INT10-C
4 585 S Bitwise and arith operations on same data. CERT INT14-C
0
586 S Format is not %j for user defined type. CERT INT15-C


Number of Mandatory Standards checked 39
Number of Checking Standards checked 0
Number of Optional Standards checked 77
Total Standards checked 116


ANALYSIS OF 2 FILE(S) IN THIS GROUP HAS FAILED OR NOT BEEN RUN. QUALITY RESULTS NOT SHOWN

D:\Code\SAMATE\SATE2009\sate2009_C_test_cases\c\pvm\pvm3\console\job.c

D:\Code\SAMATE\SATE2009\sate2009_C_test_cases\c\pvm\pvm3\console\trc.c





OVERALL RESULT: FAIL




Out of 49 program components, 1 (2.04 %) passes ( of which 1 conditionally passes ) and 48 fail ( of which 0 fail only because of insufficient comments )

Procedure Results

Quality Result   Procedure   Source File   Unique Violations    
           
FAIL Global Program
FAIL freealias cmds.c 2 -
FAIL newalias cmds.c 3 -
FAIL findalias cmds.c 1 -
FAIL docmd cmds.c 4 -
FAIL add_cmd cmds.c 4 -
FAIL diagnose_cant_start_pvm cmds.c 3 -
FAIL do_rsh_cmd cmds.c 2 -
FAIL check_env_var cmds.c 2 -
FAIL parsehost cmds.c 3 -
FAIL alias_cmd cmds.c 2 -
FAIL conf_cmd cmds.c 1 -
FAIL delete_cmd cmds.c 3 -
FAIL echo_cmd cmds.c 1 -
FAIL halt_cmd cmds.c 1 -
FAIL help_cmd cmds.c 2 -
FAIL id_cmd cmds.c 1 -
FAIL idump_cmd cmds.c 2 -
FAIL jobs_cmd cmds.c 2 -
FAIL kill_cmd cmds.c 2 -
FAIL mstat_cmd cmds.c 2 -
FAIL pstat_cmd cmds.c 2 -
FAIL quit_cmd cmds.c 1 -
FAIL reset_cmd cmds.c 1 -
FAIL setenv_cmd cmds.c 4 -
FAIL setopt_cmd cmds.c 2 -
FAIL getopt_cmd cmds.c 1 -
FAIL sig_cmd cmds.c 2 -
FAIL spawn_cmd cmds.c 5 -
FAIL task_flags cmds.c 3 -
FAIL print_task_hdr cmds.c 1 -
FAIL print_task_rec cmds.c 1 -
FAIL tasks_cmd cmds.c 2 -
FAIL tickle_cmd cmds.c 2 -
FAIL printtm cmds.c 1 -
FAIL trace_cmd cmds.c 3 -
FAIL unalias_cmd cmds.c 2 -
FAIL version_cmd cmds.c 1 -
FAIL names_cmd cmds.c 2 -
FAIL put_cmd cmds.c 2 -
FAIL export_cmd cmds.c 2 -
FAIL unexport_cmd cmds.c 1 -
FAIL exit_handler cons.c 1 -
FAIL main cons.c 5 -
FAIL acav cons.c 2 -
FAIL xtoi cons.c 2 -
FAIL axtoi cons.c 2 -
Conditional Pass tidtoi cons.c 1 -
FAIL checkmsgs cons.c 3 -

Quality Result   Procedure   Source File   Unique Violations    
           


Global Information

Source Files in Group

Name Last Modification Date
D:\Code\SAMATE\SATE2009\sate2009_C_test_cases\c\pvm\pvm3\console\trc.c Tue Feb 15 10:06:20 2000
D:\Code\SAMATE\SATE2009\sate2009_C_test_cases\c\pvm\pvm3\console\job.c Fri Apr 22 08:16:20 2005
D:\Code\SAMATE\SATE2009\sate2009_C_test_cases\c\pvm\pvm3\console\cons.c Thu Apr 19 16:14:46 2007
D:\Code\SAMATE\SATE2009\sate2009_C_test_cases\c\pvm\pvm3\console\cmds.c Fri Jan 30 14:22:23 2009




Global Basic Information

Number of procedures: 48
Number of locally uncalled procedures: 3
Number of reformatted executable lines: 3831
Number of lines of comments: 1543



Summary Report on all Program Components which FAIL



Globals / code outside procedures - FAIL

Standards Violation Summary - All files

Code File: Src Line Violation Standard
O cmds.c: 3 Non standard character $ in source. CERT MSC09-C
O cmds.c: 320 Included file not protected with #define. CERT PRE06-C
O cmd.h: 64 Enum, struct or union not typedeffed. CERT DCL05-C
O cmd.h: 71 Enum, struct or union not typedeffed. CERT DCL05-C
O cmd.h: 72 Identifier not declared on new line. CERT DCL04-C
O cmds.c: 321 Included file not protected with #define. CERT PRE06-C
O myalloc.h: 70 Found #define. CERT PRE03-C
O myalloc.h: 70 Use of banned function or variable. CERT DCL03-C,INT06-C
O myalloc.h: 70 Macro replacement list needs parentheses. CERT PRE02-C
O myalloc.h: 70 Macro contains unacceptable items CERT PRE03-C
O myalloc.h: 71 Found #define. CERT PRE03-C
O myalloc.h: 71 Use of banned function or variable. CERT DCL03-C,INT06-C
O myalloc.h: 71 Macro replacement list needs parentheses. CERT PRE02-C
O myalloc.h: 71 Macro contains unacceptable items CERT PRE03-C
O myalloc.h: 72 Found #define. CERT PRE03-C
O myalloc.h: 72 Use of banned function or variable. CERT DCL03-C,INT06-C
O myalloc.h: 72 Macro replacement list needs parentheses. CERT PRE02-C
O myalloc.h: 74 Found #define. CERT PRE03-C
O myalloc.h: 74 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
O myalloc.h: 74 Use of function like macro. CERT PRE00-C
O myalloc.h: 74 Macro contains unacceptable items CERT PRE03-C
O myalloc.h: 75 Found #define. CERT PRE03-C
O myalloc.h: 75 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
O myalloc.h: 75 Use of function like macro. CERT PRE00-C
O myalloc.h: 75 Macro contains unacceptable items CERT PRE03-C
O myalloc.h: 77 Found #define. CERT PRE03-C
O myalloc.h: 77 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
O myalloc.h: 77 Macro replacement list needs parentheses. CERT PRE02-C
O myalloc.h: 77 Macro contains unacceptable items CERT PRE03-C
O cmds.c: 322 Included file not protected with #define. CERT PRE06-C
O listmac.h: 68 Found #define. CERT PRE03-C
O listmac.h: 68 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
O listmac.h: 68 Macro replacement list needs parentheses. CERT PRE02-C
O listmac.h: 68 Macro contains unacceptable items CERT PRE03-C
O listmac.h: 69 Found #define. CERT PRE03-C
O listmac.h: 69 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
O listmac.h: 69 Macro replacement list needs parentheses. CERT PRE02-C
O listmac.h: 69 Macro contains unacceptable items CERT PRE03-C
O listmac.h: 70 Found #define. CERT PRE03-C
O listmac.h: 70 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
O listmac.h: 70 Macro replacement list needs parentheses. CERT PRE02-C
O listmac.h: 70 Macro contains unacceptable items CERT PRE03-C
O listmac.h: 72 Found #define. CERT PRE03-C
O listmac.h: 72 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
O listmac.h: 72 Use of function like macro. CERT PRE00-C
O listmac.h: 72 Macro contains unacceptable items CERT PRE03-C
O listmac.h: 73 Found #define. CERT PRE03-C
O listmac.h: 73 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
O listmac.h: 73 Use of function like macro. CERT PRE00-C
O listmac.h: 73 Macro contains unacceptable items CERT PRE03-C

Code File: Src Line Violation Standard
O listmac.h: 74 Found #define. CERT PRE03-C
O listmac.h: 74 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
O listmac.h: 74 Macro replacement list needs parentheses. CERT PRE02-C
O listmac.h: 74 Macro contains unacceptable items CERT PRE03-C
O cmds.c: 323 Included file not protected with #define. CERT PRE06-C
O bfunc.h: 63 Found #define. CERT PRE03-C
O bfunc.h: 64 Found #define. CERT PRE03-C
O bfunc.h: 65 Found #define. CERT PRE03-C
O bfunc.h: 68 Found #define. CERT PRE03-C
O bfunc.h: 68 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
O bfunc.h: 68 Macro replacement list needs parentheses. CERT PRE02-C
O bfunc.h: 69 Found #define. CERT PRE03-C
O bfunc.h: 69 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
O bfunc.h: 69 Macro replacement list needs parentheses. CERT PRE02-C
O bfunc.h: 70 Found #define. CERT PRE03-C
O bfunc.h: 70 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
O bfunc.h: 70 Macro replacement list needs parentheses. CERT PRE02-C
O cmds.c: 324 Included file not protected with #define. CERT PRE06-C
O job.h: 87 Included file not protected with #define. CERT PRE06-C
O trcdef.h: 29 Included file not protected with #define. CERT PRE06-C
O trctype.h: 29 Found #define. CERT PRE03-C
O trctype.h: 29 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
O trctype.h: 34 Use of banned function or variable. CERT DCL03-C,INT06-C
O trctype.h: 29 Macro replacement list needs parentheses. CERT PRE02-C
O trctype.h: 40 Found #define. CERT PRE03-C
O trctype.h: 40 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
O trctype.h: 48 Use of banned function or variable. CERT DCL03-C,INT06-C
O trctype.h: 40 Macro replacement list needs parentheses. CERT PRE02-C
O trctype.h: 53 Found #define. CERT PRE03-C
O trctype.h: 54 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
O trctype.h: 54 Use of function like macro. CERT PRE00-C
O trctype.h: 59 Found #define. CERT PRE03-C
O trctype.h: 59 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
O trctype.h: 59 Macro replacement list needs parentheses. CERT PRE02-C
O trctype.h: 65 Found #define. CERT PRE03-C
O trctype.h: 65 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
O trctype.h: 65 Macro replacement list needs parentheses. CERT PRE02-C
O trctype.h: 65 Macro contains unacceptable items CERT PRE03-C
O trctype.h: 71 Found #define. CERT PRE03-C
O trctype.h: 71 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
O trctype.h: 71 Use of function like macro. CERT PRE00-C
O trctype.h: 74 Found #define. CERT PRE03-C
O trctype.h: 74 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
O trctype.h: 74 Use of function like macro. CERT PRE00-C
O trctype.h: 79 Found #define. CERT PRE03-C
O trctype.h: 79 Define used for numeric constant. CERT DCL00-C
O trctype.h: 80 Found #define. CERT PRE03-C
O trctype.h: 80 Define used for numeric constant. CERT DCL00-C
O trctype.h: 85 Found #define. CERT PRE03-C
O trctype.h: 85 Define used for numeric constant. CERT DCL00-C

Code File: Src Line Violation Standard
O trctype.h: 86 Found #define. CERT PRE03-C
O trctype.h: 86 Define used for numeric constant. CERT DCL00-C
O trctype.h: 87 Found #define. CERT PRE03-C
O trctype.h: 87 Define used for numeric constant. CERT DCL00-C
O trctype.h: 88 Found #define. CERT PRE03-C
O trctype.h: 88 Define used for numeric constant. CERT DCL00-C
O trctype.h: 93 Found #define. CERT PRE03-C
O trctype.h: 93 Define used for numeric constant. CERT DCL00-C
O trctype.h: 94 Found #define. CERT PRE03-C
O trctype.h: 94 Define used for numeric constant. CERT DCL00-C
O trctype.h: 95 Found #define. CERT PRE03-C
O trctype.h: 95 Define used for numeric constant. CERT DCL00-C
O trctype.h: 96 Found #define. CERT PRE03-C
O trctype.h: 96 Define used for numeric constant. CERT DCL00-C
O trctype.h: 97 Found #define. CERT PRE03-C
O trctype.h: 97 Define used for numeric constant. CERT DCL00-C
O trctype.h: 102 Found #define. CERT PRE03-C
O trctype.h: 102 Define used for numeric constant. CERT DCL00-C
O trctype.h: 103 Found #define. CERT PRE03-C
O trctype.h: 103 Define used for numeric constant. CERT DCL00-C
O trctype.h: 112 Enum, struct or union not typedeffed. CERT DCL05-C
O trctype.h: 123 Enum, struct or union not typedeffed. CERT DCL05-C
O trctype.h: 137 Enum, struct or union not typedeffed. CERT DCL05-C
O trctype.h: 150 Enum, struct or union not typedeffed. CERT DCL05-C
O trctype.h: 166 Enum, struct or union not typedeffed. CERT DCL05-C
O trctype.h: 177 Enum, struct or union not typedeffed. CERT DCL05-C
O trctype.h: 191 Enum, struct or union not typedeffed. CERT DCL05-C
O trctype.h: 202 Enum, struct or union not typedeffed. CERT DCL05-C
O trctype.h: 229 Enum, struct or union not typedeffed. CERT DCL05-C
O trcdef.h: 43 Included file not protected with #define. CERT PRE06-C
O trcproto.h: 56 Identifier not declared on new line. CERT DCL04-C
O trcproto.h: 56 Identifier not declared on new line. CERT DCL04-C
O trcproto.h: 59 Identifier not declared on new line. CERT DCL04-C
O trcproto.h: 59 Identifier not declared on new line. CERT DCL04-C
M trcproto.h: 75 Declaration is missing type. CERT DCL31-C
O job.h: 90 Enum, struct or union not typedeffed. CERT DCL05-C
O job.h: 91 Identifier not declared on new line. CERT DCL04-C
O job.h: 94 Found #define. CERT PRE03-C
O job.h: 94 Define used for numeric constant. CERT DCL00-C
O job.h: 100 Found #define. CERT PRE03-C
O job.h: 100 Define used for numeric constant. CERT DCL00-C
O job.h: 101 Found #define. CERT PRE03-C
O job.h: 101 Define used for numeric constant. CERT DCL00-C
O job.h: 104 Found #define. CERT PRE03-C
O job.h: 104 Define used for numeric constant. CERT DCL00-C
O job.h: 105 Found #define. CERT PRE03-C
O job.h: 105 Define used for numeric constant. CERT DCL00-C
O job.h: 106 Found #define. CERT PRE03-C
O job.h: 106 Define used for numeric constant. CERT DCL00-C
O job.h: 107 Found #define. CERT PRE03-C

Code File: Src Line Violation Standard
O job.h: 107 Define used for numeric constant. CERT DCL00-C
O job.h: 108 Found #define. CERT PRE03-C
O job.h: 108 Define used for numeric constant. CERT DCL00-C
O job.h: 111 Found #define. CERT PRE03-C
O job.h: 111 Define used for numeric constant. CERT DCL00-C
O job.h: 112 Found #define. CERT PRE03-C
O job.h: 112 Define used for numeric constant. CERT DCL00-C
O job.h: 113 Found #define. CERT PRE03-C
O job.h: 113 Define used for numeric constant. CERT DCL00-C
O job.h: 114 Found #define. CERT PRE03-C
O job.h: 114 Define used for numeric constant. CERT DCL00-C
O job.h: 116 Found #define. CERT PRE03-C
O job.h: 116 Define used for numeric constant. CERT DCL00-C
O job.h: 117 Found #define. CERT PRE03-C
O job.h: 117 Define used for numeric constant. CERT DCL00-C
O job.h: 118 Found #define. CERT PRE03-C
O job.h: 118 Define used for numeric constant. CERT DCL00-C
O job.h: 119 Found #define. CERT PRE03-C
O job.h: 119 Define used for numeric constant. CERT DCL00-C
O job.h: 120 Found #define. CERT PRE03-C
O job.h: 120 Define used for numeric constant. CERT DCL00-C
O job.h: 126 Enum, struct or union not typedeffed. CERT DCL05-C
O job.h: 127 Identifier not declared on new line. CERT DCL04-C
M job.h: 135 Declaration is missing type. CERT DCL31-C
O cmds.c: 330 Found #define. CERT PRE03-C
O cmds.c: 330 Use of function like macro. CERT PRE00-C
O cmds.c: 330 Macro contains unacceptable items CERT PRE03-C
O cmds.c: 333 Name is used in standard libraries. CERT PRE04-C
O cmds.c: 333 Use of banned function or variable. CERT DCL03-C,INT06-C
O cmds.c: 358 Comment possibly contains code CERT MSC04-C
O cmds.c: 363 Comment possibly contains code CERT MSC04-C
O cmds.c: 371 Comment possibly contains code CERT MSC04-C
O cmds.c: 440 Declaration of type not in header file. CERT DCL12-C
O cmds.c: 440 Enum, struct or union not typedeffed. CERT DCL05-C
O cmds.c: 1626 Non standard character @ in source. CERT MSC09-C
O cmds.c: 1627 Non standard character @ in source. CERT MSC09-C
O cmds.c: 1750 Comment possibly contains code CERT MSC04-C
O cmds.c: 1751 Comment possibly contains code CERT MSC04-C
O cmds.c: 1752 Comment possibly contains code CERT MSC04-C
O cmds.c: 1753 Comment possibly contains code CERT MSC04-C
O cmds.c: 1754 Comment possibly contains code CERT MSC04-C
O cmds.c: 1755 Comment possibly contains code CERT MSC04-C
O cmds.c: 1756 Comment possibly contains code CERT MSC04-C
O cmds.c: 1758 Comment possibly contains code CERT MSC04-C
O cmds.c: 1761 Comment possibly contains code CERT MSC04-C
O cmds.c: 1762 Comment possibly contains code CERT MSC04-C
O cmds.c: 1763 Comment possibly contains code CERT MSC04-C
O cmds.c: 1892 Comment possibly contains code CERT MSC04-C
O cmds.c: 1893 Comment possibly contains code CERT MSC04-C
O cmds.c: 1894 Comment possibly contains code CERT MSC04-C

Code File: Src Line Violation Standard
O cmds.c: 1895 Comment possibly contains code CERT MSC04-C
O cmds.c: 1896 Comment possibly contains code CERT MSC04-C
O cmds.c: 1898 Comment possibly contains code CERT MSC04-C
O cmds.c: 1901 Comment possibly contains code CERT MSC04-C
O cmds.c: 1902 Comment possibly contains code CERT MSC04-C
O cmds.c: 1903 Comment possibly contains code CERT MSC04-C
O cmds.c: 1957 Comment possibly contains code CERT MSC04-C
O cmds.c: 1958 Comment possibly contains code CERT MSC04-C
O cmds.c: 1959 Comment possibly contains code CERT MSC04-C
O cmds.c: 1960 Comment possibly contains code CERT MSC04-C
O cmds.c: 1961 Comment possibly contains code CERT MSC04-C
O cmds.c: 1963 Comment possibly contains code CERT MSC04-C
O cmds.c: 1966 Comment possibly contains code CERT MSC04-C
O cmds.c: 1967 Comment possibly contains code CERT MSC04-C
O cmds.c: 1968 Comment possibly contains code CERT MSC04-C
O cons.c: 3 Non standard character $ in source. CERT MSC09-C
O cons.c: 226 Included file not protected with #define. CERT PRE06-C
O cons.c: 227 Included file not protected with #define. CERT PRE06-C
O cons.c: 228 Included file not protected with #define. CERT PRE06-C
O cons.c: 229 Included file not protected with #define. CERT PRE06-C
O cons.c: 230 Included file not protected with #define. CERT PRE06-C
O cons.c: 246 Found #define. CERT PRE03-C
O cons.c: 246 Use of function like macro. CERT PRE00-C
O cons.c: 246 Macro contains unacceptable items CERT PRE03-C
O cons.c: 249 Name is used in standard libraries. CERT PRE04-C
O cons.c: 249 Use of banned function or variable. CERT DCL03-C,INT06-C

[ Top of Report | Key to Terms | Procedure Table | Contents ]






freealias
(471 to 481 cmds.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 471 Declaration is missing type. CERT DCL31-C
M 474 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 475 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 476 Deprecated usage of ++ or -- operators found. CERT EXP30-C,EXP31-C
M 476 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 477 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 477 Value is not of appropriate type. : unsigned int int ( char * ) ( ap -> a_args [ ap -> a_num CERT INT01-C,INT02-C,INT07-C
M 478 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 479 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






newalias
(484 to 503 cmds.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 492 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 493 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 493 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 493 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 494 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 494 Value is not of appropriate type. : unsigned int int ( num + 1 ) * sizeof ( char * ) CERT INT01-C,INT02-C,INT07-C
M 496 Deprecated usage of ++ or -- operators found. CERT EXP30-C,EXP31-C
M 496 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 497 Array index not unsigned. CERT ARR30-C
M 497 Value is not of appropriate type. : unsigned int int ap -> a_args [ num CERT INT01-C,INT02-C,INT07-C
M 497 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 497 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 497 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 497 Array index not unsigned. CERT ARR30-C
M 497 Value is not of appropriate type. : unsigned int int ( strlen ( args [ num CERT INT01-C,INT02-C,INT07-C
M 497 Value is not of appropriate type. : unsigned int int ( strlen ( args [ num ] ) + 1 ) * sizeof ( char ) ) ) , args [ num CERT INT01-C,INT02-C,INT07-C
M 499 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 502 Pointer assignment to wider scope. CERT DCL30-C,MEM36-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






findalias
(506 to 516 cmds.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 513 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 514 Pointer assignment to wider scope. CERT DCL30-C,MEM36-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






docmd
(519 to 624 cmds.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 519 Declaration is missing type. CERT DCL31-C
M 544 Pointer assignment to wider scope. CERT DCL30-C,MEM36-C
M 551 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 554 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 559 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 567 function call with no prior declaration. CERT EXP37-C
M 567 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 568 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 581 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 583 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 589 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 593 Modification of string literal. CERT STR05-C,STR30-C
M 593 Array index not unsigned. CERT ARR30-C
M 593 Value is not of appropriate type. : unsigned int int av [ i + ap -> a_num - 1 CERT INT01-C,INT02-C,INT07-C
M 593 Value is not of appropriate type. : unsigned int int av [ i + ap -> a_num - 1 ] = av [ i CERT INT01-C,INT02-C,INT07-C
M 596 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 598 Modification of string literal. CERT STR05-C,STR30-C
M 598 Array index not unsigned. CERT ARR30-C
M 598 Value is not of appropriate type. : unsigned int int av [ i CERT INT01-C,INT02-C,INT07-C
M 598 Value is not of appropriate type. : unsigned int int av [ i ] = ap -> a_args [ i CERT INT01-C,INT02-C,INT07-C
M 607 Modification of string literal. CERT STR05-C,STR30-C
M 607 Array index not unsigned. CERT ARR30-C
M 607 Value is not of appropriate type. : unsigned int int av [ ac CERT INT01-C,INT02-C,INT07-C
M 610 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 614 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 619 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






add_cmd
(632 to 675 cmds.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 632 Declaration is missing type. CERT DCL31-C
M 643 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 643 Value is not of appropriate type. : unsigned int int ( ac ) * sizeof ( int ) CERT INT01-C,INT02-C,INT07-C
M 644 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 644 function call with no prior declaration. CERT EXP37-C
M 644 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 646 function call with no prior declaration. CERT EXP37-C
M 646 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 648 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 649 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 651 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 651 Array index not unsigned. CERT ARR30-C
M 651 Value is not of appropriate type. : unsigned int int ( cc = sv [ i CERT INT01-C,INT02-C,INT07-C
M 652 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 652 Array index not unsigned. CERT ARR30-C
M 652 Value is not of appropriate type. : unsigned int int printf ( "%24s %8s\n" , av [ i CERT INT01-C,INT02-C,INT07-C
M 657 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 657 Array index not unsigned. CERT ARR30-C
M 657 Value is not of appropriate type. : unsigned int int printf ( "%24s %8x\n" , av [ i CERT INT01-C,INT02-C,INT07-C
M 662 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 664 Array index not unsigned. CERT ARR30-C
M 664 Value is not of appropriate type. : unsigned int int sv [ i CERT INT01-C,INT02-C,INT07-C
M 665 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 665 Array index not unsigned. CERT ARR30-C
M 665 Value is not of appropriate type. : unsigned int int printf ( "%s...\n" , av [ i CERT INT01-C,INT02-C,INT07-C
M 666 function call with no prior declaration. CERT EXP37-C
M 666 Array index not unsigned. CERT ARR30-C
M 666 Value is not of appropriate type. : unsigned int int av [ i CERT INT01-C,INT02-C,INT07-C
M 667 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 672 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 672 Casting operation on a pointer. CERT EXP11-C,EXP36-C,INT11-C
M 673 function call with no prior declaration. CERT EXP37-C
M 673 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






diagnose_cant_start_pvm
(678 to 1165 cmds.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 678 Declaration is missing type. CERT DCL31-C
M 707 function call with no prior declaration. CERT EXP37-C
M 708 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 709 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 715 function call with no prior declaration. CERT EXP37-C
M 715 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 720 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 720 function call with no prior declaration. CERT EXP37-C
M 720 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 721 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 723 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 755 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 757 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 757 function call with no prior declaration. CERT EXP37-C
M 759 function call with no prior declaration. CERT EXP37-C
M 759 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 760 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 762 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 763 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 764 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 769 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 770 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 775 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 779 function call with no prior declaration. CERT EXP37-C
M 783 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 784 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 786 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 787 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 789 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 790 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 791 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 792 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 794 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 804 function call with no prior declaration. CERT EXP37-C
M 809 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 812 function call with no prior declaration. CERT EXP37-C
M 816 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 816 Signed/unsigned conversion without cast. : int unsigned int len = strlen CERT INT02-C,INT31-C,STR34-C
M 819 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 824 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 824 Signed/unsigned conversion without cast. : int unsigned int len = strlen CERT INT02-C,INT31-C,STR34-C
M 826 Array index not unsigned. CERT ARR30-C
M 826 Value is not of appropriate type. : unsigned int int result [ i CERT INT01-C,INT02-C,INT07-C
M 827 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 832 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 839 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 839 Signed/unsigned conversion without cast. : int unsigned int len = strlen CERT INT02-C,INT31-C,STR34-C
M 841 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 848 Array index not unsigned. CERT ARR30-C
M 848 Value is not of appropriate type. : unsigned int int result2 [ i CERT INT01-C,INT02-C,INT07-C

Code Line Violation Standard
M 849 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 855 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 864 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 865 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 876 function call with no prior declaration. CERT EXP37-C
M 884 function call with no prior declaration. CERT EXP37-C
M 885 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 887 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 888 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 889 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 894 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 895 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 897 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 899 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 900 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 901 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 902 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 908 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 909 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 911 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 918 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 919 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 921 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 928 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 929 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 940 function call with no prior declaration. CERT EXP37-C
M 947 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 949 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 951 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 952 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 953 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 954 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 961 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 968 function call with no prior declaration. CERT EXP37-C
M 973 function call with no prior declaration. CERT EXP37-C
M 975 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 976 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 980 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 983 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 988 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 989 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1002 function call with no prior declaration. CERT EXP37-C
M 1006 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1006 Signed/unsigned conversion without cast. : int unsigned int len = strlen CERT INT02-C,INT31-C,STR34-C
M 1009 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1011 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1014 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1015 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1027 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1029 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C

Code Line Violation Standard
M 1032 function call with no prior declaration. CERT EXP37-C
M 1038 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1040 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1042 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1043 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1044 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1045 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1050 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1057 function call with no prior declaration. CERT EXP37-C
M 1062 function call with no prior declaration. CERT EXP37-C
M 1064 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1065 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1069 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1072 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1077 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1078 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1081 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1082 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1092 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1096 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1099 function call with no prior declaration. CERT EXP37-C
M 1102 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1102 Signed/unsigned conversion without cast. : int unsigned int len = strlen CERT INT02-C,INT31-C,STR34-C
M 1108 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1110 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1111 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1113 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1115 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1117 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1118 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1121 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1127 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1130 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1131 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1132 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1133 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1135 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1136 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1138 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1144 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1151 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1154 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1154 function call with no prior declaration. CERT EXP37-C
M 1155 function call with no prior declaration. CERT EXP37-C
M 1155 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1160 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1162 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






do_rsh_cmd
(1168 to 1231 cmds.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 1168 Declaration is missing type. CERT DCL31-C
M 1185 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1189 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1189 function call with no prior declaration. CERT EXP37-C
M 1192 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1193 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1196 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1197 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1200 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1201 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1206 function call with no prior declaration. CERT EXP37-C
M 1206 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1209 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1211 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1211 Signed/unsigned conversion without cast. : int unsigned int len = strlen CERT INT02-C,INT31-C,STR34-C
M 1212 Array index not unsigned. CERT ARR30-C
M 1212 Value is not of appropriate type. : unsigned int int result [ len - 1 CERT INT01-C,INT02-C,INT07-C
M 1213 Array index not unsigned. CERT ARR30-C
M 1213 Value is not of appropriate type. : unsigned int int result [ len - 1 CERT INT01-C,INT02-C,INT07-C
M 1215 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1215 Signed/unsigned conversion without cast. : int unsigned int len = strlen CERT INT02-C,INT31-C,STR34-C
M 1216 Array index not unsigned. CERT ARR30-C
M 1216 Value is not of appropriate type. : unsigned int int result [ len - 1 CERT INT01-C,INT02-C,INT07-C
M 1217 Array index not unsigned. CERT ARR30-C
M 1217 Value is not of appropriate type. : unsigned int int result [ len - 1 CERT INT01-C,INT02-C,INT07-C
M 1220 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1223 function call with no prior declaration. CERT EXP37-C
M 1223 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1226 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






check_env_var
(1234 to 1275 cmds.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 1234 Declaration is missing type. CERT DCL31-C
M 1240 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1240 Signed/unsigned conversion without cast. : int unsigned int strlen CERT INT02-C,INT31-C,STR34-C
M 1244 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1249 Value is not of appropriate type. : char signed char ptr = result CERT INT01-C,INT02-C,INT07-C
M 1251 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1251 Signed/unsigned conversion without cast. : unsigned int int ) >= nlen CERT INT02-C,INT31-C,STR34-C
M 1253 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1261 Modification of string literal. CERT STR05-C,STR30-C
M 1263 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1265 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1266 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






parsehost
(1284 to 1382 cmds.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 1294 function call with no prior declaration. CERT EXP37-C
M 1294 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1295 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1315 Deprecated usage of ++ or -- operators found. CERT EXP30-C,EXP31-C
M 1315 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 1316 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1316 Array index not unsigned. CERT ARR30-C
M 1316 Value is not of appropriate type. : unsigned int int ! strncmp ( av [ ac CERT INT01-C,INT02-C,INT07-C
M 1318 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1319 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1319 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1319 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1319 Array index not unsigned. CERT ARR30-C
M 1319 Value is not of appropriate type. : unsigned int int ( strlen ( av [ ac CERT INT01-C,INT02-C,INT07-C
M 1319 Value is not of appropriate type. : char signed char ( strlen ( av [ ac ] CERT INT01-C,INT02-C,INT07-C
M 1319 Value is not of appropriate type. : unsigned int int ( strlen ( av [ ac ] + 3 ) + 1 ) * sizeof ( char ) ) ) , av [ ac CERT INT01-C,INT02-C,INT07-C
M 1319 Value is not of appropriate type. : char signed char ( strlen ( av [ ac ] + 3 ) + 1 ) * sizeof ( char ) ) ) , av [ ac ] CERT INT01-C,INT02-C,INT07-C
M 1322 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1322 Array index not unsigned. CERT ARR30-C
M 1322 Value is not of appropriate type. : unsigned int int ! strncmp ( av [ ac CERT INT01-C,INT02-C,INT07-C
M 1324 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1325 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1325 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1325 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1325 Array index not unsigned. CERT ARR30-C
M 1325 Value is not of appropriate type. : unsigned int int ( strlen ( av [ ac CERT INT01-C,INT02-C,INT07-C
M 1325 Value is not of appropriate type. : char signed char ( strlen ( av [ ac ] CERT INT01-C,INT02-C,INT07-C
M 1325 Value is not of appropriate type. : unsigned int int ( strlen ( av [ ac ] + 3 ) + 1 ) * sizeof ( char ) ) ) , av [ ac CERT INT01-C,INT02-C,INT07-C
M 1325 Value is not of appropriate type. : char signed char ( strlen ( av [ ac ] + 3 ) + 1 ) * sizeof ( char ) ) ) , av [ ac ] CERT INT01-C,INT02-C,INT07-C
M 1328 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1328 Array index not unsigned. CERT ARR30-C
M 1328 Value is not of appropriate type. : unsigned int int ! strncmp ( av [ ac CERT INT01-C,INT02-C,INT07-C
M 1330 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1331 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1331 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1331 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1331 Array index not unsigned. CERT ARR30-C
M 1331 Value is not of appropriate type. : unsigned int int ( strlen ( av [ ac CERT INT01-C,INT02-C,INT07-C
M 1331 Value is not of appropriate type. : char signed char ( strlen ( av [ ac ] CERT INT01-C,INT02-C,INT07-C
M 1331 Value is not of appropriate type. : unsigned int int ( strlen ( av [ ac ] + 3 ) + 1 ) * sizeof ( char ) ) ) , av [ ac CERT INT01-C,INT02-C,INT07-C
M 1331 Value is not of appropriate type. : char signed char ( strlen ( av [ ac ] + 3 ) + 1 ) * sizeof ( char ) ) ) , av [ ac ] CERT INT01-C,INT02-C,INT07-C
M 1334 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1334 Array index not unsigned. CERT ARR30-C
M 1334 Value is not of appropriate type. : unsigned int int ! strncmp ( av [ ac CERT INT01-C,INT02-C,INT07-C
M 1335 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1335 Array index not unsigned. CERT ARR30-C
M 1335 Value is not of appropriate type. : unsigned int int hp -> hd_speed = atoi ( av [ ac CERT INT01-C,INT02-C,INT07-C
M 1335 Value is not of appropriate type. : char signed char hp -> hd_speed = atoi ( av [ ac ] CERT INT01-C,INT02-C,INT07-C
M 1339 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1339 Array index not unsigned. CERT ARR30-C

Code Line Violation Standard
M 1339 Value is not of appropriate type. : unsigned int int ! strncmp ( av [ ac CERT INT01-C,INT02-C,INT07-C
M 1341 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1342 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1342 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1342 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1342 Array index not unsigned. CERT ARR30-C
M 1342 Value is not of appropriate type. : unsigned int int ( strlen ( av [ ac CERT INT01-C,INT02-C,INT07-C
M 1342 Value is not of appropriate type. : char signed char ( strlen ( av [ ac ] CERT INT01-C,INT02-C,INT07-C
M 1342 Value is not of appropriate type. : unsigned int int ( strlen ( av [ ac ] + 3 ) + 1 ) * sizeof ( char ) ) ) , av [ ac CERT INT01-C,INT02-C,INT07-C
M 1342 Value is not of appropriate type. : char signed char ( strlen ( av [ ac ] + 3 ) + 1 ) * sizeof ( char ) ) ) , av [ ac ] CERT INT01-C,INT02-C,INT07-C
M 1345 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1345 Array index not unsigned. CERT ARR30-C
M 1345 Value is not of appropriate type. : unsigned int int ! strncmp ( av [ ac CERT INT01-C,INT02-C,INT07-C
M 1347 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1348 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1348 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1348 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1348 Array index not unsigned. CERT ARR30-C
M 1348 Value is not of appropriate type. : unsigned int int ( strlen ( av [ ac CERT INT01-C,INT02-C,INT07-C
M 1348 Value is not of appropriate type. : char signed char ( strlen ( av [ ac ] CERT INT01-C,INT02-C,INT07-C
M 1348 Value is not of appropriate type. : unsigned int int ( strlen ( av [ ac ] + 3 ) + 1 ) * sizeof ( char ) ) ) , av [ ac CERT INT01-C,INT02-C,INT07-C
M 1348 Value is not of appropriate type. : char signed char ( strlen ( av [ ac ] + 3 ) + 1 ) * sizeof ( char ) ) ) , av [ ac ] CERT INT01-C,INT02-C,INT07-C
M 1351 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1351 Array index not unsigned. CERT ARR30-C
M 1351 Value is not of appropriate type. : unsigned int int ! strncmp ( av [ ac CERT INT01-C,INT02-C,INT07-C
M 1353 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1354 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1354 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1354 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1354 Array index not unsigned. CERT ARR30-C
M 1354 Value is not of appropriate type. : unsigned int int ( strlen ( av [ ac CERT INT01-C,INT02-C,INT07-C
M 1354 Value is not of appropriate type. : char signed char ( strlen ( av [ ac ] CERT INT01-C,INT02-C,INT07-C
M 1354 Value is not of appropriate type. : unsigned int int ( strlen ( av [ ac ] + 3 ) + 1 ) * sizeof ( char ) ) ) , av [ ac CERT INT01-C,INT02-C,INT07-C
M 1354 Value is not of appropriate type. : char signed char ( strlen ( av [ ac ] + 3 ) + 1 ) * sizeof ( char ) ) ) , av [ ac ] CERT INT01-C,INT02-C,INT07-C
M 1357 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1357 Array index not unsigned. CERT ARR30-C
M 1357 Value is not of appropriate type. : unsigned int int ! strncmp ( av [ ac CERT INT01-C,INT02-C,INT07-C
M 1359 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1360 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1360 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1360 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1360 Array index not unsigned. CERT ARR30-C
M 1360 Value is not of appropriate type. : unsigned int int ( strlen ( av [ ac CERT INT01-C,INT02-C,INT07-C
M 1360 Value is not of appropriate type. : char signed char ( strlen ( av [ ac ] CERT INT01-C,INT02-C,INT07-C
M 1360 Value is not of appropriate type. : unsigned int int ( strlen ( av [ ac ] + 3 ) + 1 ) * sizeof ( char ) ) ) , av [ ac CERT INT01-C,INT02-C,INT07-C
M 1360 Value is not of appropriate type. : char signed char ( strlen ( av [ ac ] + 3 ) + 1 ) * sizeof ( char ) ) ) , av [ ac ] CERT INT01-C,INT02-C,INT07-C
M 1363 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1363 Array index not unsigned. CERT ARR30-C
M 1363 Value is not of appropriate type. : unsigned int int ! strncmp ( av [ ac CERT INT01-C,INT02-C,INT07-C
M 1365 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C

Code Line Violation Standard
M 1366 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1366 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1366 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1366 Array index not unsigned. CERT ARR30-C
M 1366 Value is not of appropriate type. : unsigned int int ( strlen ( av [ ac CERT INT01-C,INT02-C,INT07-C
M 1366 Value is not of appropriate type. : char signed char ( strlen ( av [ ac ] CERT INT01-C,INT02-C,INT07-C
M 1366 Value is not of appropriate type. : unsigned int int ( strlen ( av [ ac ] + 3 ) + 1 ) * sizeof ( char ) ) ) , av [ ac CERT INT01-C,INT02-C,INT07-C
M 1366 Value is not of appropriate type. : char signed char ( strlen ( av [ ac ] + 3 ) + 1 ) * sizeof ( char ) ) ) , av [ ac ] CERT INT01-C,INT02-C,INT07-C
M 1369 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1369 Array index not unsigned. CERT ARR30-C
M 1369 Value is not of appropriate type. : unsigned int int printf ( "parsehost(): unknown option \"%s\"\n" , av [ ac CERT INT01-C,INT02-C,INT07-C
M 1376 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1377 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1377 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1377 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






alias_cmd
(1385 to 1410 cmds.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 1385 Declaration is missing type. CERT DCL31-C
M 1395 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1398 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1398 Array index not unsigned. CERT ARR30-C
M 1398 Value is not of appropriate type. : unsigned int int printf ( "%s%s" , p , ap -> a_args [ i CERT INT01-C,INT02-C,INT07-C
M 1399 Modification of string literal. CERT STR05-C,STR30-C
M 1401 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1405 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 1407 Value is not of appropriate type. : char signed char av [ 1 ] , ac - 2 , av CERT INT01-C,INT02-C,INT07-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






conf_cmd
(1413 to 1434 cmds.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 1413 Declaration is missing type. CERT DCL31-C
M 1421 function call with no prior declaration. CERT EXP37-C
M 1421 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1422 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1424 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1426 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1426 Array index not unsigned. CERT ARR30-C
M 1426 Value is not of appropriate type. : unsigned int int printf ( "%24s %8x %8s%8d 0x%08x\n" , hostlist [ i CERT INT01-C,INT02-C,INT07-C
M 1426 Value is not of appropriate type. : unsigned int int printf ( "%24s %8x %8s%8d 0x%08x\n" , hostlist [ i ].hi_name , hostlist [ i CERT INT01-C,INT02-C,INT07-C
M 1426 Value is not of appropriate type. : unsigned int int printf ( "%24s %8x %8s%8d 0x%08x\n" , hostlist [ i ].hi_name , hostlist [ i ].hi_tid , hostlist [ i CERT INT01-C,INT02-C,INT07-C
M 1426 Value is not of appropriate type. : unsigned int int printf ( "%24s %8x %8s%8d 0x%08x\n" , hostlist [ i ].hi_name , hostlist [ i ].hi_tid , hostlist [ i ].hi_arch , hostlist [ i CERT INT01-C,INT02-C,INT07-C
M 1426 Value is not of appropriate type. : unsigned int int printf ( "%24s %8x %8s%8d 0x%08x\n" , hostlist [ i ].hi_name , hostlist [ i ].hi_tid , hostlist [ i ].hi_arch , hostlist [ i ].hi_speed , hostlist [ i CERT INT01-C,INT02-C,INT07-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






delete_cmd
(1437 to 1461 cmds.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 1437 Declaration is missing type. CERT DCL31-C
M 1447 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1447 Value is not of appropriate type. : unsigned int int ( ac ) * sizeof ( int ) CERT INT01-C,INT02-C,INT07-C
M 1448 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 1448 function call with no prior declaration. CERT EXP37-C
M 1448 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1449 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1450 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1452 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1452 Array index not unsigned. CERT ARR30-C
M 1452 Value is not of appropriate type. : unsigned int int printf ( "%24s " , av [ i CERT INT01-C,INT02-C,INT07-C
M 1453 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 1453 Array index not unsigned. CERT ARR30-C
M 1453 Value is not of appropriate type. : unsigned int int ( cc = sv [ i CERT INT01-C,INT02-C,INT07-C
M 1454 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1456 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1459 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1459 Casting operation on a pointer. CERT EXP11-C,EXP36-C,INT11-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






echo_cmd
(1464 to 1477 cmds.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 1464 Declaration is missing type. CERT DCL31-C
M 1472 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1472 Array index not unsigned. CERT ARR30-C
M 1472 Value is not of appropriate type. : unsigned int int printf ( "%s%s" , p , av [ i CERT INT01-C,INT02-C,INT07-C
M 1473 Modification of string literal. CERT STR05-C,STR30-C
M 1475 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






halt_cmd
(1480 to 1491 cmds.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 1480 Declaration is missing type. CERT DCL31-C
M 1486 function call with no prior declaration. CERT EXP37-C
M 1486 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1487 function call with no prior declaration. CERT EXP37-C
M 1487 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






help_cmd
(1687 to 1722 cmds.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 1687 Declaration is missing type. CERT DCL31-C
M 1700 Modification of string literal. CERT STR05-C,STR30-C
M 1702 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1702 Signed/unsigned conversion without cast. : int unsigned int l = strlen CERT INT02-C,INT31-C,STR34-C
M 1705 Modification of string literal. CERT STR05-C,STR30-C
M 1706 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1706 Array index not unsigned. CERT ARR30-C
M 1706 Value is not of appropriate type. : unsigned int int ( * p ) [ l CERT INT01-C,INT02-C,INT07-C
M 1706 Array index not unsigned. CERT ARR30-C
M 1706 Value is not of appropriate type. : unsigned int int ) [ l CERT INT01-C,INT02-C,INT07-C
M 1707 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1710 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1711 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1713 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1713 Signed/unsigned conversion without cast. : int unsigned int l = strlen CERT INT02-C,INT31-C,STR34-C
M 1714 Modification of string literal. CERT STR05-C,STR30-C
M 1715 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1715 Array index not unsigned. CERT ARR30-C
M 1715 Value is not of appropriate type. : unsigned int int ) [ l CERT INT01-C,INT02-C,INT07-C
M 1716 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






id_cmd
(1725 to 1733 cmds.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 1725 Declaration is missing type. CERT DCL31-C
M 1731 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






idump_cmd
(1736 to 1746 cmds.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 1736 Declaration is missing type. CERT DCL31-C
M 1743 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1744 Actual and formal parameters inconsistent (MR). CERT EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






jobs_cmd
(1769 to 1827 cmds.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 1769 Declaration is missing type. CERT DCL31-C
M 1780 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1782 function call with no prior declaration. CERT EXP37-C
M 1784 function call with no prior declaration. CERT EXP37-C
M 1784 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1788 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1796 function call with no prior declaration. CERT EXP37-C
M 1796 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1798 function call with no prior declaration. CERT EXP37-C
M 1800 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1801 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1803 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1808 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1814 function call with no prior declaration. CERT EXP37-C
M 1814 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1816 function call with no prior declaration. CERT EXP37-C
M 1818 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1819 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1821 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1823 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






kill_cmd
(1830 to 1888 cmds.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 1830 Declaration is missing type. CERT DCL31-C
M 1844 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 1855 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1861 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1865 function call with no prior declaration. CERT EXP37-C
M 1865 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1870 function call with no prior declaration. CERT EXP37-C
M 1870 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1870 Deprecated usage of ++ or -- operators found. CERT EXP30-C,EXP31-C
M 1870 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 1874 Array index not unsigned. CERT ARR30-C
M 1874 Value is not of appropriate type. : unsigned int int tip [ i CERT INT01-C,INT02-C,INT07-C
M 1875 Array index not unsigned. CERT ARR30-C
M 1875 Value is not of appropriate type. : unsigned int int tid2 = tip [ i CERT INT01-C,INT02-C,INT07-C
M 1877 function call with no prior declaration. CERT EXP37-C
M 1877 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1882 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1884 function call with no prior declaration. CERT EXP37-C
M 1884 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






mstat_cmd
(1909 to 1921 cmds.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 1909 Declaration is missing type. CERT DCL31-C
M 1917 function call with no prior declaration. CERT EXP37-C
M 1917 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1917 Array index not unsigned. CERT ARR30-C
M 1917 Value is not of appropriate type. : unsigned int int cc = pvm_mstat ( av [ i CERT INT01-C,INT02-C,INT07-C
M 1918 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1918 Array index not unsigned. CERT ARR30-C
M 1918 Value is not of appropriate type. : unsigned int int printf ( "%24s %s\n" , av [ i CERT INT01-C,INT02-C,INT07-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






pstat_cmd
(1924 to 1938 cmds.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 1924 Declaration is missing type. CERT DCL31-C
M 1933 function call with no prior declaration. CERT EXP37-C
M 1933 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1933 Array index not unsigned. CERT ARR30-C
M 1933 Value is not of appropriate type. : unsigned int int tid = tidtoi ( av [ i CERT INT01-C,INT02-C,INT07-C
M 1934 function call with no prior declaration. CERT EXP37-C
M 1934 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1935 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






quit_cmd
(1941 to 1953 cmds.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 1941 Declaration is missing type. CERT DCL31-C
M 1943 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1945 function call with no prior declaration. CERT EXP37-C
M 1945 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1946 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






reset_cmd
(1974 to 2003 cmds.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 1974 Declaration is missing type. CERT DCL31-C
M 1986 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1991 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 1994 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2000 function call with no prior declaration. CERT EXP37-C
M 2000 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






setenv_cmd
(2006 to 2047 cmds.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 2006 Declaration is missing type. CERT DCL31-C
M 2019 Modification of string literal. CERT STR05-C,STR30-C
M 2020 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2024 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 2025 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2032 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2032 Signed/unsigned conversion without cast. : int unsigned int n += strlen CERT INT02-C,INT31-C,STR34-C
M 2032 Array index not unsigned. CERT ARR30-C
M 2032 Value is not of appropriate type. : unsigned int int n += strlen ( av [ i CERT INT01-C,INT02-C,INT07-C
M 2033 Modification of string literal. CERT STR05-C,STR30-C
M 2033 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2033 Value is not of appropriate type. : unsigned int int ( n ) * sizeof ( char ) CERT INT01-C,INT02-C,INT07-C
M 2034 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2035 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2038 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2039 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2039 Array index not unsigned. CERT ARR30-C
M 2039 Value is not of appropriate type. : unsigned int int strcat ( p , av [ i CERT INT01-C,INT02-C,INT07-C
M 2040 Modification of string literal. CERT STR05-C,STR30-C
M 2042 function call with no prior declaration. CERT EXP37-C
M 2042 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2024 Actual and formal parameters inconsistent (MR). CERT EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






setopt_cmd
(2089 to 2120 cmds.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 2089 Declaration is missing type. CERT DCL31-C
M 2099 Modification of string literal. CERT STR05-C,STR30-C
M 2104 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2112 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2113 function call with no prior declaration. CERT EXP37-C
M 2113 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2114 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2117 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






getopt_cmd
(2123 to 2167 cmds.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 2123 Declaration is missing type. CERT DCL31-C
M 2136 Modification of string literal. CERT STR05-C,STR30-C
M 2139 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2140 function call with no prior declaration. CERT EXP37-C
M 2140 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2141 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2148 Modification of string literal. CERT STR05-C,STR30-C
M 2151 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2158 function call with no prior declaration. CERT EXP37-C
M 2158 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2159 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2162 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






sig_cmd
(2170 to 2184 cmds.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 2170 Declaration is missing type. CERT DCL31-C
M 2178 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2180 function call with no prior declaration. CERT EXP37-C
M 2180 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2180 Array index not unsigned. CERT ARR30-C
M 2180 Value is not of appropriate type. : unsigned int int tid = tidtoi ( av [ i CERT INT01-C,INT02-C,INT07-C
M 2181 function call with no prior declaration. CERT EXP37-C
M 2181 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






spawn_cmd
(2187 to 2342 cmds.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 2187 Declaration is missing type. CERT DCL31-C
M 2209 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2216 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2217 Value is not of appropriate type. : char signed char where = av [ 1 ] CERT INT01-C,INT02-C,INT07-C
M 2221 Modification of string literal. CERT STR05-C,STR30-C
M 2221 Value is not of appropriate type. : char signed char where = av [ 1 ] CERT INT01-C,INT02-C,INT07-C
M 2222 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2223 Modification of string literal. CERT STR05-C,STR30-C
M 2223 Value is not of appropriate type. : char signed char where = av [ 1 ] CERT INT01-C,INT02-C,INT07-C
M 2228 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2229 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2229 Value is not of appropriate type. : char signed char count = atoi ( av [ 1 ] CERT INT01-C,INT02-C,INT07-C
M 2233 Value is not of appropriate type. : char signed char ofn = av [ 1 ] CERT INT01-C,INT02-C,INT07-C
M 2239 Modification of string literal. CERT STR05-C,STR30-C
M 2247 Value is not of appropriate type. : char signed char tfn = av [ 1 ] CERT INT01-C,INT02-C,INT07-C
M 2249 Modification of string literal. CERT STR05-C,STR30-C
M 2253 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2254 Modification of string literal. CERT STR05-C,STR30-C
M 2254 Value is not of appropriate type. : char signed char where = av [ 1 ] CERT INT01-C,INT02-C,INT07-C
M 2262 function call with no prior declaration. CERT EXP37-C
M 2262 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2264 function call with no prior declaration. CERT EXP37-C
M 2264 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2266 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2268 Modification of string literal. CERT STR05-C,STR30-C
M 2271 function call with no prior declaration. CERT EXP37-C
M 2271 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2273 function call with no prior declaration. CERT EXP37-C
M 2273 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2276 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2279 function call with no prior declaration. CERT EXP37-C
M 2279 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2280 function call with no prior declaration. CERT EXP37-C
M 2280 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2285 function call with no prior declaration. CERT EXP37-C
M 2285 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2286 function call with no prior declaration. CERT EXP37-C
M 2286 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2287 function call with no prior declaration. CERT EXP37-C
M 2287 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2294 function call with no prior declaration. CERT EXP37-C
M 2294 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2297 function call with no prior declaration. CERT EXP37-C
M 2297 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2298 function call with no prior declaration. CERT EXP37-C
M 2298 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2299 function call with no prior declaration. CERT EXP37-C
M 2299 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2300 function call with no prior declaration. CERT EXP37-C
M 2300 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C

Code Line Violation Standard
M 2301 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2305 function call with no prior declaration. CERT EXP37-C
M 2305 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2309 function call with no prior declaration. CERT EXP37-C
M 2309 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2312 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2316 function call with no prior declaration. CERT EXP37-C
M 2316 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2318 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2324 function call with no prior declaration. CERT EXP37-C
M 2324 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2327 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2328 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 2328 function call with no prior declaration. CERT EXP37-C
M 2328 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2330 function call with no prior declaration. CERT EXP37-C
M 2330 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2332 function call with no prior declaration. CERT EXP37-C
M 2332 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2333 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2335 Array index not unsigned. CERT ARR30-C
M 2335 Value is not of appropriate type. : unsigned int int tids [ i CERT INT01-C,INT02-C,INT07-C
M 2336 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2336 Array index not unsigned. CERT ARR30-C
M 2336 Value is not of appropriate type. : unsigned int int ( tids [ i CERT INT01-C,INT02-C,INT07-C
M 2336 Array index not unsigned. CERT ARR30-C
M 2336 Value is not of appropriate type. : unsigned int int ( tids [ i CERT INT01-C,INT02-C,INT07-C
M 2336 Array index not unsigned. CERT ARR30-C
M 2336 Value is not of appropriate type. : unsigned int int pvm_errlist [ - ( tids [ i CERT INT01-C,INT02-C,INT07-C
M 2338 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2338 Array index not unsigned. CERT ARR30-C
M 2338 Value is not of appropriate type. : unsigned int int printf ( "t%x\n" , tids [ i CERT INT01-C,INT02-C,INT07-C
M 2340 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2340 Casting operation on a pointer. CERT EXP11-C,EXP36-C,INT11-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






task_flags
(2350 to 2370 cmds.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 2357 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2361 Array index not unsigned. CERT ARR30-C
M 2361 Value is not of appropriate type. : unsigned int int tflgs [ i CERT INT01-C,INT02-C,INT07-C
M 2362 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2362 Array index not unsigned. CERT ARR30-C
M 2362 Value is not of appropriate type. : unsigned int int strcat ( buf , tflgs [ i CERT INT01-C,INT02-C,INT07-C
M 2363 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2368 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2368 Value is not of appropriate type. : unsigned int signed char buf [ strlen ( buf ) CERT INT01-C,INT02-C,INT07-C
M 2368 Value is not of appropriate type. : unsigned int signed char buf [ strlen ( buf ) - 1 CERT INT01-C,INT02-C,INT07-C
M 2369 Pointer assignment to wider scope. CERT DCL30-C,MEM36-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






print_task_hdr
(2373 to 2383 cmds.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 2373 Declaration is missing type. CERT DCL31-C
M 2377 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2380 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






print_task_rec
(2386 to 2420 cmds.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 2386 Declaration is missing type. CERT DCL31-C
M 2400 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2402 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2404 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2406 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2409 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2412 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2414 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2415 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2417 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2418 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






tasks_cmd
(2423 to 2499 cmds.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 2423 Declaration is missing type. CERT DCL31-C
M 2433 function call with no prior declaration. CERT EXP37-C
M 2433 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2437 function call with no prior declaration. CERT EXP37-C
M 2437 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2445 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2446 function call with no prior declaration. CERT EXP37-C
M 2446 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2449 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2454 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2462 function call with no prior declaration. CERT EXP37-C
M 2462 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2462 Deprecated usage of ++ or -- operators found. CERT EXP30-C,EXP31-C
M 2462 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 2484 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2489 function call with no prior declaration. CERT EXP37-C
M 2489 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2492 Array index not unsigned. CERT ARR30-C
M 2492 Value is not of appropriate type. : unsigned int int tip [ i CERT INT01-C,INT02-C,INT07-C
M 2492 Array index not unsigned. CERT ARR30-C
M 2492 Value is not of appropriate type. : unsigned int int tip [ i CERT INT01-C,INT02-C,INT07-C
M 2494 Array index not unsigned. CERT ARR30-C
M 2494 Value is not of appropriate type. : unsigned int int & tip [ i CERT INT01-C,INT02-C,INT07-C
M 2495 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






tickle_cmd
(2502 to 2522 cmds.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 2502 Declaration is missing type. CERT DCL31-C
M 2513 Array index not unsigned. CERT ARR30-C
M 2513 Value is not of appropriate type. : unsigned int int arg [ nar CERT INT01-C,INT02-C,INT07-C
M 2513 function call with no prior declaration. CERT EXP37-C
M 2513 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2513 Value is not of appropriate type. : unsigned int int arg [ nar ] = axtoi ( av [ nar CERT INT01-C,INT02-C,INT07-C
M 2515 function call with no prior declaration. CERT EXP37-C
M 2515 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2516 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2518 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2518 Array index not unsigned. CERT ARR30-C
M 2518 Value is not of appropriate type. : unsigned int int printf ( " %d" , arg [ i CERT INT01-C,INT02-C,INT07-C
M 2519 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






printtm
(2525 to 2535 cmds.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 2525 Declaration is missing type. CERT DCL31-C
M 2530 function call with no prior declaration. CERT EXP37-C
M 2530 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






trace_cmd
(2538 to 2661 cmds.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 2538 Declaration is missing type. CERT DCL31-C
M 2558 function call with no prior declaration. CERT EXP37-C
M 2558 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2563 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2563 Array index not unsigned. CERT ARR30-C
M 2563 Value is not of appropriate type. : unsigned int int ! strcmp ( av [ i CERT INT01-C,INT02-C,INT07-C
M 2565 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2565 Array index not unsigned. CERT ARR30-C
M 2565 Value is not of appropriate type. : unsigned int int ! strcmp ( av [ i CERT INT01-C,INT02-C,INT07-C
M 2567 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2567 Array index not unsigned. CERT ARR30-C
M 2567 Value is not of appropriate type. : unsigned int int ! strcmp ( av [ i CERT INT01-C,INT02-C,INT07-C
M 2570 function call with no prior declaration. CERT EXP37-C
M 2570 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2572 function call with no prior declaration. CERT EXP37-C
M 2572 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2575 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2575 Array index not unsigned. CERT ARR30-C
M 2575 Value is not of appropriate type. : unsigned int int ! strcmp ( av [ i CERT INT01-C,INT02-C,INT07-C
M 2577 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2577 Deprecated usage of ++ or -- operators found. CERT EXP30-C,EXP31-C
M 2577 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 2577 Array index not unsigned. CERT ARR30-C
M 2577 Value is not of appropriate type. : unsigned int int tbuf = atoi ( av [ ++ i CERT INT01-C,INT02-C,INT07-C
M 2578 function call with no prior declaration. CERT EXP37-C
M 2578 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2580 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2582 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2582 Array index not unsigned. CERT ARR30-C
M 2582 Value is not of appropriate type. : unsigned int int ! strcmp ( av [ i CERT INT01-C,INT02-C,INT07-C
M 2585 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2585 Array index not unsigned. CERT ARR30-C
M 2585 Value is not of appropriate type. : unsigned int int ! strcmp ( av [ i CERT INT01-C,INT02-C,INT07-C
M 2587 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2587 Array index not unsigned. CERT ARR30-C
M 2587 Value is not of appropriate type. : unsigned int int ! strcmp ( av [ i CERT INT01-C,INT02-C,INT07-C
M 2589 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2589 Array index not unsigned. CERT ARR30-C
M 2589 Value is not of appropriate type. : unsigned int int ! strcmp ( av [ i CERT INT01-C,INT02-C,INT07-C
M 2592 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2592 Array index not unsigned. CERT ARR30-C
M 2592 Value is not of appropriate type. : unsigned int int printf ( "\nError: Unknown Trace Option \"%s\"\n\n" , av [ i CERT INT01-C,INT02-C,INT07-C
M 2595 function call with no prior declaration. CERT EXP37-C
M 2595 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2600 Modification of string literal. CERT STR05-C,STR30-C
M 2601 Modification of string literal. CERT STR05-C,STR30-C
M 2603 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2604 Modification of string literal. CERT STR05-C,STR30-C
M 2607 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2609 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C

Code Line Violation Standard
M 2609 Array index not unsigned. CERT ARR30-C
M 2609 Value is not of appropriate type. : unsigned int int ! strcmp ( av [ i CERT INT01-C,INT02-C,INT07-C
M 2610 function call with no prior declaration. CERT EXP37-C
M 2610 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2611 function call with no prior declaration. CERT EXP37-C
M 2611 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2612 function call with no prior declaration. CERT EXP37-C
M 2612 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2613 function call with no prior declaration. CERT EXP37-C
M 2613 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2614 function call with no prior declaration. CERT EXP37-C
M 2614 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2615 function call with no prior declaration. CERT EXP37-C
M 2615 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2616 function call with no prior declaration. CERT EXP37-C
M 2616 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2617 function call with no prior declaration. CERT EXP37-C
M 2617 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2618 function call with no prior declaration. CERT EXP37-C
M 2618 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2619 function call with no prior declaration. CERT EXP37-C
M 2619 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2620 function call with no prior declaration. CERT EXP37-C
M 2620 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2621 function call with no prior declaration. CERT EXP37-C
M 2621 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2622 function call with no prior declaration. CERT EXP37-C
M 2622 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2623 function call with no prior declaration. CERT EXP37-C
M 2623 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2624 function call with no prior declaration. CERT EXP37-C
M 2624 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2625 function call with no prior declaration. CERT EXP37-C
M 2625 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2626 function call with no prior declaration. CERT EXP37-C
M 2626 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2627 function call with no prior declaration. CERT EXP37-C
M 2627 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2628 function call with no prior declaration. CERT EXP37-C
M 2628 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2629 function call with no prior declaration. CERT EXP37-C
M 2629 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2630 function call with no prior declaration. CERT EXP37-C
M 2630 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2631 function call with no prior declaration. CERT EXP37-C
M 2631 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2632 function call with no prior declaration. CERT EXP37-C
M 2632 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2633 function call with no prior declaration. CERT EXP37-C
M 2633 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C

Code Line Violation Standard
M 2634 function call with no prior declaration. CERT EXP37-C
M 2634 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2637 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2637 Array index not unsigned. CERT ARR30-C
M 2637 Value is not of appropriate type. : unsigned int int ! strncmp ( av [ i CERT INT01-C,INT02-C,INT07-C
M 2638 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2638 Array index not unsigned. CERT ARR30-C
M 2638 Value is not of appropriate type. : unsigned int int strcpy ( buf , av [ i CERT INT01-C,INT02-C,INT07-C
M 2638 Value is not of appropriate type. : char signed char strcpy ( buf , av [ i ] CERT INT01-C,INT02-C,INT07-C
M 2640 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2640 Array index not unsigned. CERT ARR30-C
M 2640 Value is not of appropriate type. : unsigned int int strcpy ( buf , av [ i CERT INT01-C,INT02-C,INT07-C
M 2642 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2642 Array index not unsigned. CERT ARR30-C
M 2642 Value is not of appropriate type. : unsigned int int ! strcmp ( pvmtevinfo [ e CERT INT01-C,INT02-C,INT07-C
M 2643 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2643 Array index not unsigned. CERT ARR30-C
M 2643 Value is not of appropriate type. : unsigned int int ! strcmp ( pvmtevinfo [ e CERT INT01-C,INT02-C,INT07-C
M 2643 Array index not unsigned. CERT ARR30-C
M 2643 Value is not of appropriate type. : unsigned int int av [ i CERT INT01-C,INT02-C,INT07-C
M 2647 function call with no prior declaration. CERT EXP37-C
M 2647 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2649 function call with no prior declaration. CERT EXP37-C
M 2649 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2653 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2653 Array index not unsigned. CERT ARR30-C
M 2653 Value is not of appropriate type. : unsigned int int printf ( "no such event \"%s\"\n" , av [ i CERT INT01-C,INT02-C,INT07-C
M 2658 function call with no prior declaration. CERT EXP37-C
M 2658 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






unalias_cmd
(2664 to 2675 cmds.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 2664 Declaration is missing type. CERT DCL31-C
M 2672 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 2672 Array index not unsigned. CERT ARR30-C
M 2672 Value is not of appropriate type. : unsigned int int av [ i CERT INT01-C,INT02-C,INT07-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






version_cmd
(2678 to 2686 cmds.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 2678 Declaration is missing type. CERT DCL31-C
M 2684 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2684 function call with no prior declaration. CERT EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






names_cmd
(2689 to 2710 cmds.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 2689 Declaration is missing type. CERT DCL31-C
M 2698 function call with no prior declaration. CERT EXP37-C
M 2698 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2701 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2701 Array index not unsigned. CERT ARR30-C
M 2701 Value is not of appropriate type. : unsigned int int printf ( "<%s>:\n" , classes [ i CERT INT01-C,INT02-C,INT07-C
M 2702 Array index not unsigned. CERT ARR30-C
M 2702 Value is not of appropriate type. : unsigned int int j < classes [ i CERT INT01-C,INT02-C,INT07-C
M 2703 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2703 Array index not unsigned. CERT ARR30-C
M 2703 Value is not of appropriate type. : unsigned int int printf ( "\tindex=%d owner=0x%x/%d flags=0x%x\n" , classes [ i CERT INT01-C,INT02-C,INT07-C
M 2703 Value is not of appropriate type. : unsigned int int printf ( "\tindex=%d owner=0x%x/%d flags=0x%x\n" , classes [ i ].mi_indices [ j CERT INT01-C,INT02-C,INT07-C
M 2703 Value is not of appropriate type. : unsigned int int printf ( "\tindex=%d owner=0x%x/%d flags=0x%x\n" , classes [ i ].mi_indices [ j ] , classes [ i CERT INT01-C,INT02-C,INT07-C
M 2703 Value is not of appropriate type. : unsigned int int printf ( "\tindex=%d owner=0x%x/%d flags=0x%x\n" , classes [ i ].mi_indices [ j ] , classes [ i ].mi_owners [ j CERT INT01-C,INT02-C,INT07-C
M 2703 Value is not of appropriate type. : unsigned int int printf ( "\tindex=%d owner=0x%x/%d flags=0x%x\n" , classes [ i ].mi_indices [ j ] , classes [ i ].mi_owners [ j ] , classes [ i CERT INT01-C,INT02-C,INT07-C
M 2703 Value is not of appropriate type. : unsigned int int printf ( "\tindex=%d owner=0x%x/%d flags=0x%x\n" , classes [ i ].mi_indices [ j ] , classes [ i ].mi_owners [ j ] , classes [ i ].mi_owners [ j CERT INT01-C,INT02-C,INT07-C
M 2703 Value is not of appropriate type. : unsigned int int printf ( "\tindex=%d owner=0x%x/%d flags=0x%x\n" , classes [ i ].mi_indices [ j ] , classes [ i ].mi_owners [ j ] , classes [ i ].mi_owners [ j ] , classes [ i CERT INT01-C,INT02-C,INT07-C
M 2706 Array index not unsigned. CERT ARR30-C
M 2706 Value is not of appropriate type. : unsigned int int .mi_flags [ j CERT INT01-C,INT02-C,INT07-C
M 2707 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






put_cmd
(2713 to 2724 cmds.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 2713 Declaration is missing type. CERT DCL31-C
M 2719 function call with no prior declaration. CERT EXP37-C
M 2719 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2720 function call with no prior declaration. CERT EXP37-C
M 2720 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2720 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2722 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2722 Value is not of appropriate type. : unsigned int int printf ( "%s\n" , pvm_errlist [ - cc CERT INT01-C,INT02-C,INT07-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






export_cmd
(2727 to 2743 cmds.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 2727 Declaration is missing type. CERT DCL31-C
M 2736 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2740 function call with no prior declaration. CERT EXP37-C
M 2740 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2740 Array index not unsigned. CERT ARR30-C
M 2740 Value is not of appropriate type. : unsigned int int pvm_export ( av [ i CERT INT01-C,INT02-C,INT07-C
M 2735 Actual and formal parameters inconsistent (MR). CERT EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






unexport_cmd
(2746 to 2755 cmds.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 2746 Declaration is missing type. CERT DCL31-C
M 2753 function call with no prior declaration. CERT EXP37-C
M 2753 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 2753 Array index not unsigned. CERT ARR30-C
M 2753 Value is not of appropriate type. : unsigned int int pvm_unexport ( av [ i CERT INT01-C,INT02-C,INT07-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






exit_handler
(280 to 287 cons.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 284 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 285 function call with no prior declaration. CERT EXP37-C
M 285 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






main
(290 to 528 cons.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 290 Declaration is missing type. CERT DCL31-C
M 365 function call with no prior declaration. CERT EXP37-C
M 365 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 367 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 368 function call with no prior declaration. CERT EXP37-C
M 368 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 369 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 372 function call with no prior declaration. CERT EXP37-C
M 372 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 372 Value is not of appropriate type. : char signed char pvmstrtoi ( argv [ 1 ] CERT INT01-C,INT02-C,INT07-C
M 374 function call with no prior declaration. CERT EXP37-C
M 374 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 376 function call with no prior declaration. CERT EXP37-C
M 376 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 377 function call with no prior declaration. CERT EXP37-C
M 377 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 379 function call with no prior declaration. CERT EXP37-C
M 379 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 380 function call with no prior declaration. CERT EXP37-C
M 380 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 380 Value is not of appropriate type. : char signed char cc = pvm_start_pvmd ( argc - 1 , argv CERT INT01-C,INT02-C,INT07-C
M 383 function call with no prior declaration. CERT EXP37-C
M 383 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 386 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 388 function call with no prior declaration. CERT EXP37-C
M 388 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 390 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 390 function call with no prior declaration. CERT EXP37-C
M 390 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 393 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 397 function call with no prior declaration. CERT EXP37-C
M 397 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 398 function call with no prior declaration. CERT EXP37-C
M 398 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 399 function call with no prior declaration. CERT EXP37-C
M 399 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 404 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 406 function call with no prior declaration. CERT EXP37-C
M 407 function call with no prior declaration. CERT EXP37-C
M 407 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 409 function call with no prior declaration. CERT EXP37-C
M 409 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 411 function call with no prior declaration. CERT EXP37-C
M 411 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 417 function call with no prior declaration. CERT EXP37-C
M 417 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 418 function call with no prior declaration. CERT EXP37-C
M 418 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 421 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 422 Modification of string literal. CERT STR05-C,STR30-C

Code Line Violation Standard
M 423 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 424 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 424 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 425 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 426 function call with no prior declaration. CERT EXP37-C
M 426 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 427 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 430 function call with no prior declaration. CERT EXP37-C
M 430 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 433 function call with no prior declaration. CERT EXP37-C
M 433 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 437 function call with no prior declaration. CERT EXP37-C
M 437 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 438 function call with no prior declaration. CERT EXP37-C
M 438 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 439 function call with no prior declaration. CERT EXP37-C
M 439 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 442 function call with no prior declaration. CERT EXP37-C
M 442 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 444 function call with no prior declaration. CERT EXP37-C
M 444 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 451 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 452 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 466 function call with no prior declaration. CERT EXP37-C
M 484 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 484 function call with no prior declaration. CERT EXP37-C
M 484 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 484 Casting operation on a pointer. CERT EXP11-C,EXP36-C,INT11-C
M 492 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 507 function call with no prior declaration. CERT EXP37-C
M 507 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 513 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 513 function call with no prior declaration. CERT EXP37-C
M 513 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 514 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 515 function call with no prior declaration. CERT EXP37-C
M 515 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 517 Array index not unsigned. CERT ARR30-C
M 517 Value is not of appropriate type. : unsigned int int cmd [ n CERT INT01-C,INT02-C,INT07-C
M 518 function call with no prior declaration. CERT EXP37-C
M 518 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 519 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 520 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 421 Actual and formal parameters inconsistent (MR). CERT EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






acav
(542 to 608 cons.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 555 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 564 Array index not unsigned. CERT ARR30-C
M 564 Deprecated usage of ++ or -- operators found. CERT EXP30-C,EXP31-C
M 564 Value is not of appropriate type. : unsigned int int av [ ac ++ CERT INT01-C,INT02-C,INT07-C
M 567 Type conversion without cast. : bool char mode == '\\' CERT INT02-C,INT31-C
M 568 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 575 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 578 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 586 Type conversion without cast. : bool char mode = *p CERT INT02-C,INT31-C
M 590 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 599 Modification of string literal. CERT STR05-C,STR30-C
M 601 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






xtoi
(616 to 626 cons.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 616 Declaration is missing type. CERT DCL31-C
M 622 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 622 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 622 Deprecated usage of ++ or -- operators found. CERT EXP30-C,EXP31-C
M 623 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 623 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 623 Value is not of appropriate type. : char signed char ) CERT INT01-C,INT02-C,INT07-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






axtoi
(634 to 641 cons.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 634 Declaration is missing type. CERT DCL31-C
M 638 Value is not of appropriate type. : char signed char p CERT INT01-C,INT02-C,INT07-C
M 640 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






checkmsgs
(654 to 732 cons.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 654 Declaration is missing type. CERT DCL31-C
M 670 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 670 function call with no prior declaration. CERT EXP37-C
M 670 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 671 function call with no prior declaration. CERT EXP37-C
M 671 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 672 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 672 Value is not of appropriate type. : unsigned int int ( n ) * sizeof ( int ) CERT INT01-C,INT02-C,INT07-C
M 673 function call with no prior declaration. CERT EXP37-C
M 673 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 674 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 675 function call with no prior declaration. CERT EXP37-C
M 675 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 676 function call with no prior declaration. CERT EXP37-C
M 676 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 677 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 681 Array index not unsigned. CERT ARR30-C
M 681 Value is not of appropriate type. : unsigned int int dtids [ j CERT INT01-C,INT02-C,INT07-C
M 681 Value is not of appropriate type. : unsigned int int dtids [ j ] == hostlist [ i CERT INT01-C,INT02-C,INT07-C
M 682 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 682 Array index not unsigned. CERT ARR30-C
M 682 Value is not of appropriate type. : unsigned int int printf ( "%24s %8x %8s%8d\n" , hostlist [ i CERT INT01-C,INT02-C,INT07-C
M 682 Value is not of appropriate type. : unsigned int int printf ( "%24s %8x %8s%8d\n" , hostlist [ i ].hi_name , hostlist [ i CERT INT01-C,INT02-C,INT07-C
M 682 Value is not of appropriate type. : unsigned int int printf ( "%24s %8x %8s%8d\n" , hostlist [ i ].hi_name , hostlist [ i ].hi_tid , hostlist [ i CERT INT01-C,INT02-C,INT07-C
M 682 Value is not of appropriate type. : unsigned int int printf ( "%24s %8x %8s%8d\n" , hostlist [ i ].hi_name , hostlist [ i ].hi_tid , hostlist [ i ].hi_arch , hostlist [ i CERT INT01-C,INT02-C,INT07-C
M 691 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 691 Casting operation on a pointer. CERT EXP11-C,EXP36-C,INT11-C
M 706 function call with no prior declaration. CERT EXP37-C
M 706 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 707 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 712 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 719 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 719 function call with no prior declaration. CERT EXP37-C
M 719 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 720 function call with no prior declaration. CERT EXP37-C
M 720 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]




Key to Terms


Standards violations for procedures are printed in tables with code markers as follows:


Code (Line) Violation Standard
M (Source line number) [Text of Mandatory standard] [Appropriate rule reference]
C   [Text of Checking standard]  
O   [Text of Optional standard]  
[Source: Text of line from Source file]


                         Checking standards are considered mandatory but individual instances may be overridden by adding annotations to the source code
                         Optional standards provide additional quality criteria but may be violated

                         For some standards violations, additional information is provided in results tables
                         Note that source lines do not show macro expansions

                         "Off" in Summary tables indicates that a standard is switched off in the pen.dat file
                         "MR" in Summary tables indicates a MISRA Restricted standard which cannot be checked without the MISRA licence option.


A summary is given of the pass/fail result of each program component as follows:


Components which pass all standards are marked: Pass
Components which fail only Optional standards are marked: Conditional Pass
Components which fail on insufficient comments only are marked: Comment FAIL
Components which violate Mandatory standards are marked: FAIL



Procedure Results table breakdown (Example Only)


Unique Violations    
     
65 - 150
35 - 39 -



                         The Violation density for a function is the number of violations per reformatted line, expressed as a percentage.
                         It is an indication of code quality.

                         Functions with a high violation density are likely to be smaller functions with a large number of violations.

                         Lower density may indicate larger functions with fewer violations.

                                        (nViols / nRefLines) x 100

                         where:

                                        nViols = number of standard violations in a function.

                         and:

                                        nRefLines = number of reformatted lines in a function.

                         The unique standards failure ratio is an indication of variety of standards violations in a module.

                         Thus a function containing one instance of several different standards will have a high ratio,
                         while a function that has violated only one standards will have a low ratio.


[ Top of Report | Procedure Table | Contents ]


End of Code Review Report

Copyright © 2009 Liverpool Data Research Associates